Blurring data topic
Blur quantitative values in one or two dimensions.
Functions
-
blur(
List< Blurring datadouble> data, num radius) → List<double> -
Blurs an list of
datain-place by applying three iterations of a moving average transform, for a fast approximation of a gaussian kernel of the givenradius, a non-negative number, and returns the list. -
blur2(
({List< Blurring datadouble> data, int? height, int width}) data, int rx, [int? ry]) → ({List<double> data, int? height, int width}) -
Blurs a matrix of the given width and height in-place, by applying an
horizontal blur of radius
rxand a vertical blur or radiusry(which defaults torx). -
blurImage(
({List< Blurring datadouble> data, int? height, int width}) data, int rx, [int? ry]) → ({List<double> data, int? height, int width}) -
Blurs an ImageData
structure in-place, blurring each of the RGBA layers independently by
applying an horizontal blur of radius
rxand a vertical blur or radiusry(which defaults torx). Returns the blurred ImageData.